import * as React from "react";

export interface MenuInterface {
    path: string,
    label: string,
    key: string,
    icon: string | React.ReactNode,
    children?: Array<MenuInterface>
}

export interface MenuInfo {
    key: string;
    keyPath: string[];
    item: React.ReactInstance;
    domEvent: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>;
}
